<!DOCTYPE html>
<html lang="en">
<head>
	<{include file="header.html"}>
	<title>设置VIP-会员管理-<{$user_data['school_name']}>-德安信会计在线教育平台</title>
	<script>
	$(function(){
		$("#btn_save").click(function(){
			$("form").submit();
		});
	})
	</script>
</head>
<body>
	<div class="wrap">
		<!--star left-->
		<div class="column">
			<{include file="left_menu.html"}>
		</div>
		<div id="ContMianBox">
			<div class="sub-colum">
			    <div class="tit">会员管理</div>
			    <ul>
						<{foreach from=$left_menu_min.list item=item}>
						<li <{if $item['url'] == $left_menu_min.curr}>class="curr"<{/if}>><a href="<{$item['url']}>"><{$item['name']}></a></li>
						<{/foreach}>
			    </ul>
			</div>

			<!--end left-->
			<div class="container narrow">
			    <!--star conter-->
			    <div class="cetContent">
						<div class="tit p-lr20">
						    <a class="c-40d064" href="/users">会员管理</a><em class="p-lr10 c-CCCCCC fs12">/</em><em>设置VIP</em>
						</div>
					<!--star内容区域-->
					<div class="mainScroll">
					    <div class="mainContainer line-all">

					        <div class="tabMainCont">

					            <!--star 编辑基本信息-->
					            <div class="tabItem step-02">

								<form action="/users/setvip/<{$user['id']}>" method="post" class="layui-form">
									<div class="layui-form-item">
									 <label class="layui-form-label">会员编号：</label>
									 <div class="layui-input-inline">
										<{$user['id']}>
									 </div>
									</div>
								<div class="layui-form-item">
								 <label class="layui-form-label">会员姓名：</label>
								 <div class="layui-input-block">
									 <{$user['nick']}>
								 </div>
								</div>

								<div class="layui-form-item">
							    <label class="layui-form-label">手机号：</label>
									<div class="layui-input-inline">
										<{$user['mobile']}>
							  		</div>
									<div class="layui-input-inline">

							  	</div>
							  </div>

								<div class="layui-form-item">
									<label class="layui-form-label">VIP截止：</label>
									<div class="layui-input-inline">
										<input class="layui-input" name="end_day" value="<{$user['vip_expire_day']|date_format: '%Y-%m-%d'}>" required lay-verify="required" placeholder="开始日" id="LAY_demorange_s">
									</div>
								</div>

								<div class="layui-form-item">
								 <div class="layui-input-block">
									 <button class="layui-btn" lay-submit lay-filter="*">立即升级VIP</button>
									 <button type="reset" class="layui-btn layui-btn-primary" onclick="history.go(-1)">取消</button>
								 </div>
								</div>


					            </form>
					            </div>
					            <!--end 编辑基本信息-->

					        </div>


					    </div>
					</div>
					</div>
					<!--end内容区域-->

		    <!--end conter-->
		</div>


	</div>
</div>
<{include file="footer.html"}>
<script>
	layui.use(['form','laydate','jquery'], function(){
		var laydate = layui.laydate;
		var form = layui.form(),$ = layui.jquery;

		var start = {
			min: laydate.now(+10)
			,istoday: false
			,choose: function(datas){
				end.min = datas; //开始日选好后，重置结束日的最小日期
				end.start = datas //将结束日的初始值设定为开始日
			}
		};
		document.getElementById('LAY_demorange_s').onclick = function(){
			start.elem = this;
			laydate(start);
		}


	});
</script>

</body>
</html>
